package com.bfly.mall.admin.dto;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 管理员密码修改信息DTO
 *
 * @author 长沙商脉科技有限公司
 * @date 2020/9/16 14:29
 */
public class AdminEditPwdDTO implements Serializable {
    private static final long serialVersionUID = -5706518161482841472L;

    /**
     * 用户名
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/9/16 14:30
     */
    private String userName;

    /**
     * 密码
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/9/16 14:30
     */
    @NotBlank(message = "密码不能为空!")
    private String password;

    /**
     * 验证码
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/9/16 14:30
     */
    @NotBlank(message = "新密码不能为空!")
    private String newPassword;

    @NotBlank(message = "确认密码不能为空!")

    private String confirmPassword;

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
